package cn.shentianlan.mapper;

import cn.shentianlan.criteria.ClassroomCriteria;
import cn.shentianlan.domain.entity.Classroom;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 陈俊源
 * @Description TODO
 * @Date 2021/4/20
 * @Version 1.0
 */
@Repository
public interface ClassroomMapper {
    void saveClassroom(Classroom classroom);

    void updateClassroom(Classroom classroom);

    List<Classroom> findClassroomByCriteria(ClassroomCriteria criteria);

    Integer getCount();

    Classroom getClassroomById(Long id);

    void deleteClassroomById(Long id);
}
